package com.baizhi.service;

import com.baizhi.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BannerService {
    Map selectAllBanner(int page , int limit);

    Map deleteBanner(int bannerId);

    Map insertBanner(Banner banner);

    Banner selectByBannerId(int bannerId);

    Map updateBanner(Banner banner);
    Map updateBanner1(Banner banner);

    /*Map updateBannerStates(Banner banner);*/
    //批量下载
    Map selectAlls();

    Map updates(Banner banner);

    List<Banner> selectBannerByCount( int count);

}
